package com.bill99.rpc.config.spring.schema;

import org.springframework.beans.factory.xml.NamespaceHandlerSupport;

/**
 * @author sheng.zhang
 * 
 */
public class RpcNamespaceHandlerSupport extends NamespaceHandlerSupport {

	public void init() {
		registerBeanDefinitionParser("application",
				new ApplicationBeanDefinationParser());
		registerBeanDefinitionParser("service",
				new ServiceBeanDefinationParser());
		registerBeanDefinitionParser("hessian",
				new HessianProtocolBeanDefinationParser());
		registerBeanDefinitionParser("reference",
				new ReferenceBeanDefinationParser());
		registerBeanDefinitionParser("registry",
				new RegistryBeanDefinationParser());
	}
}